package blue.qingyu.whimurmur.lookBack.model;

import com.jfinal.plugin.activerecord.IBean;
import io.jboot.db.model.JbootModel;

import java.util.Date;
import java.util.List;

/**
 * @author zhangxr
 * @Title:
 * @Package
 * @Description:
 * @date 2020/6/13 22:03
 */
public class BaseLookBack<M extends BaseLookBack<M>> extends JbootModel<M> implements IBean {
	public Integer getId() {
		return getInt("id");
	}

	public void setId(Integer id) {
		set("id", id);
	}

	public String getTitle() {
		return getStr("title");
	}

	public void setTitle(String title) {
		set("title", title);
	}

	public Date getDate() {
		return getDate("date");
	}

	public void setDate(Date date) {
		set("date", date);
	}

	public Date getCreated() {
		return getDate("created");
	}

	public void setCreated(Date created) {
		set("created", created);
	}

	public String getCreatedBy() {
		return getStr("created_by");
	}

	public void setCreatedBy(String createdBy) {
		set("created_by", createdBy);
	}
}